import React from 'react';
import {Select,Row, Col, Button,Input} from 'antd';

const Option = Select.Option;

export default class DepartmentExpertiseTable extends React.Component {
    
    onChangeMedInput= (e) => {
        this.props.updateState("locExpertise",e.target.value);
     }
    render() {
        return(
            <div>
                {/* <div style={{widht: '100%', height: '10px', background: '#f0f2f5'}}></div> */}
                <div className="table-operations" style={{height: '64px', lineHeight: '64px', padding: '0 24px'}}>
                    <Row>
                        <Col span={24}>
                        专长名称：<Input placeholder="请输入专长名称"   style={{width: '150px', marginRight: '20px'}} onChange={this.onChangeMedInput}/>
                            <Button  onClick={this.props.handleQuery}   style={{ marginRight: '15px', background: 'rgba(255,255,255,1)'}}>查询</Button>
                        </Col>
                    </Row>
                </div>
            </div>
        )
    }
}
